import java.io.IOException;

public class HttpContext {

    private void ParseRequest() throws IOException {

    }

    // 状态机
    private enum Status {
        RECV_HTTP_LINE,
        RECV_HTTP_HEAD,
        RECV_HTTP_BODY,
        RECV_HTTP_OVER,
        RECV_HTTP_ERROR,
    }

    // 参数限制
    private static final int MAX_REQ_LINE = 2048;
    private static final int MAX_REQ_HEADER = 4096;
}
